<template>
    <cell>
        <eros-header title="违章查询"></eros-header>
        <wxc-cell title="分用户查询"
            :has-arrow="true"
            :has-top-border="true"
            @wxcCellClicked="jump('wz.fyhcx')">
        </wxc-cell>
        <wxc-cell title="用户列表"
            :has-arrow="true"
            :has-top-border="true"
            @wxcCellClicked="toWebView">
        </wxc-cell>
        <wxc-cell title="添加用户"
            :has-arrow="true"
            :has-top-border="true"
            @wxcCellClicked="jump('storage')">
        </wxc-cell>
    </cell>
</template>
<script>
import { WxcCell } from 'weex-ui'
import ErosHeader from './header'
export default {
    components: { WxcCell, ErosHeader },
    methods: {
        jump(name) {
            this.$router.open({
                name: name
            })
        },
        toWebView () {
            this.$router.toWebView({
                url: 'https://bmfe.github.io/eros-docs/#/zh-cn/eros_widget?id=%e9%a1%b5%e9%9d%a2%e5%85%a8%e5%b1%80%e4%ba%8b%e4%bb%b6',
                title: 'eros 全局事件'
            })
        }
    }
}
</script>

